#include <iostream>
#include "GenericPlayer.h"

using namespace std;

GenericPlayer::GenericPlayer(const string& name)
{
	this->name= name;
}

std::string GenericPlayer::getName()
{
	return name;
}

bool GenericPlayer::isBusted() const
{
	if(this->getTotal() > 21) return true;
	else return false;
}

void GenericPlayer::bust() const
{
	cout<<"Player busts";
}